<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<link rel="shortcut icon"
		href="#{request.contextPath}/images/favicon.html" />
	<meta http-equiv="Content-Script-Type" content="text/javascript" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="robots" content="index, follow" />
	<meta name="keywords" content="" />
	<meta name="title" content="" />
	<meta name="description" content="" />
	<title>Acabus</title>
	<link rel="shortcut icon"
		href="#{request.contextPath}/images/favicon.ico" />
	<!-- ////////////////////////////////// -->
	<!-- //      Start Stylesheets       // -->
	<!-- ////////////////////////////////// -->
	<link href="#{request.contextPath}/css/style.css" rel="stylesheet"
		type="text/css" />
	<!-- ////////////////////////////////// -->
	<!-- //      Javascript Files        // -->
	<!-- ////////////////////////////////// -->
	<script type="text/javascript">
         PrimeFaces.locales['es'] = {
                            closeText: 'Cerrar',
                            prevText: 'Anterior',
                            nextText: 'Siguiente',
                            monthNames: ['Enero','Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
                            monthNamesShort: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun','Jul','Ago','Sep','Oct','Nov','Dic'],
                            dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
                            dayNamesShort: ['Dom','Lun', 'Mar', 'Mie', 'Jue', 'Vie', 'Sab'],
                            dayNamesMin: ['D','L','M','X','J','V','S'],
                            weekHeader: 'Semana',
                            firstDay: 1,
                            isRTL: false,
                            showMonthAfterYear: false,
                            yearSuffix: '',
                            timeOnlyTitle: 'Sólo hora',
                            timeText: 'Tiempo',
                            hourText: 'Hora',
                            minuteText: 'Minuto',
                            secondText: 'Segundo',
                            currentText: 'Fecha actual',
                            ampm: false,
                            month: 'Mes',
                            week: 'Semana',
                            day: 'Día',
                            allDayText : 'Todo el día'
                        };
</script>
	<script type="text/javascript">
				    function handlRequest(xhr, status, args, pfid) {
				        if(args.validationFailed) {
				            PF(pfid).jq.effect("shake", {times:5}, 100);
				        }
				        else {
				            PF(pfid).hide();
				        }
				    }
				</script>
				#{nav_controller.searchForURLNavigation()}
</h:head>
<h:body>
	<ui:insert name="header">
		<ui:include src="/WEB-INF/templates/common/header.xhtml" />
	</ui:insert>
	<h:form id="breadcumbform">
		<p:breadCrumb model="#{nav_controller.menuModel}" />
	</h:form>
	<ui:insert name="content">
		<div id="slideshow">
			<div class="cycle">
				<img src="#{request.contextPath}/images/img-slider.jpg" alt=""
					class="slide_image" />
			</div>
			<!-- end of cycle1 -->
			<div class="cycle">
				<img src="#{request.contextPath}/images/img-slider2.jpg" alt=""
					class="slide_image" />
			</div>
			<!-- end of cycle2 -->
			<div class="cycle">
				<img src="#{request.contextPath}/images/img-slider3.jpg" alt=""
					class="slide_image" />
			</div>
			<!-- end of cycle2 -->
		</div>
		<!-- end slideshow -->
	</ui:insert>
	<!-- end #content-full -->
	<ui:insert name="footer">
		<ui:include src="/WEB-INF/templates/common/footer.xhtml" />
	</ui:insert>
	<p:ajaxStatus onstart="PF('statusDialog').show()"
		onsuccess="PF('statusDialog').hide()" />
	<p:dialog widgetVar="statusDialog" modal="true" draggable="false"
		closable="false" resizable="false" showHeader="false">
		<img src="#{request.contextPath}/images/ajax_gif.gif" />
	</p:dialog>

</h:body>

</html>
